<template>
	<view class="confirmlnfoDetail">
		<view v-for="v in props.list" :key="v.key">
			<text>{{ v.key }}</text>
			<text :style="{ color: v.color || '#333333' }">{{ v.value }}</text>
		</view>
	</view>
</template>

<script setup>
// import {
// 	defineProps
// } from 'vue'
const props = defineProps(['list'])
</script>

<style lang="less" scoped>
.confirmlnfoDetail {
	width: 680rpx;
	margin: 25rpx auto;
	background-color: #fff;
	border-radius: 10rpx;
	border: 1px solid #f5f4f5;
	padding: 0 30rpx;
	box-sizing: border-box;

	view {
		width: 100%;
		height: 112rpx;
		display: flex;
		justify-content: flex-start;
		align-items: center;
		border-bottom: 1px solid #f5f4f5;

		text {
			font-size: 30rpx;
		}

		text:first-child {
			color: #ababab;
			margin-right: 18rpx;
		}

		&:last-child {
			border-bottom: none;
		}
	}
}
</style>
